<ul class="breadcrumb">
    <?php 
    $count = count($breadcrumb);
    $i=0;
    foreach ($breadcrumb as $item): ?>
        <?php 
        $i++;
        ?>
        <li><a href="<?php echo $item['link'] ?>"><?php echo $item['text'] ?></a> <span class="divider"> <?php echo $i == $count?"&nbsp;":">"; ?> </span></li>
    <?php endforeach; ?>
</ul>